Types
vector2
Basic container of 2 floats
Fields
Name |
Type |
Description |
x |
float |
pitch |
y |
float |
yaw |
vector3
Basic container of 3 floats
Fields
Name |
Type |
Description |
x |
float |
pitch |
y |
float |
yaw |
z |
float |
roll |
length |
function -> float |
|
length2D |
function -> float |
|
squareLength |
function -> float |
|
dotProduct |
function -> float |
|
normalize |
function |
|
crossProduct |
function -> float |
|
toAngle |
function |
|
fromAngle |
function |
vector4
container of 4 floats
Fields
Name |
Type |
Description |
x |
float |
pitch |
y |
float |
yaw |
z |
float |
roll |
w |
float |
rotation |
entity
Method |
Description |
---|---|
isDormant |
|
isAlive |
|
isPlayer |
|
isWeapon |
|
isPistol |
|
isSniperRifle |
|
isGrenade |
|
isVisible |
|
isVisibleTo |
|
isFullAuto |
|
isInReload |
|
isBot |
|
isSpotted |
|
isScoped |
|
isDefusing |
|
isPinPulled |
|
isFlashed |
|
hasDefuser |
|
hasHelmet |
|
getEyePosition |
|
getEyeAngles |
|
getAimPunch |
|
getAimPunchAngle |
|
getViewPunchAngle |
|
getBonePosition |
|
getOrigin |
|
getAbsOrigin |
|
getVelocity |
|
getPlayerName |
|
getIndex |
|
getHealth |
|
getArmor |
|
getMoney |
|
getLastPlaceName |
|
getUserId |
|
getSteamId |
|
getActiveWeapon |
|
getWeaponType |
|
getWeaponSubType |
|
getInaccuracy |
|
getSpread |
|
getShotsFired |
|
getDefinitionIndex |
playerResource
Method |
Description |
---|---|
score |
|
color |
|
competitiveWins |
|
competitiveRanking |
|
musicID |
|
activeCoinRank |
|
hasC4 |
userCmd
Method |
Description |
---|---|
commandNumber |
|
tickCount |
|
viewangles |
|
aimdirection |
|
forwardmove |
|
sidemove |
|
upmove |
|
buttons |
|
impulse |
|
weaponselect |
|
weaponsubtype |
|
randomSeed |
|
mousedx |
|
mousedy |
|
hasbeenpredicted |
gameEvent
Method |
Description |
---|---|
getName |
|
getInt |
|
getFloat |
|
getString |
|
setInt |
|
setString |
viewSetup
Method |
Description |
---|---|
fov |
|
origin |
|
angles |
|
farZ |
|
nearViewmodelZ |
|
farViewmodelZ |
|
aspectRatio |